<?php

defined('_HUMUS_EXEC') or die('Direct Access to this location is not allowed.');

/* PATH */
$settings['PathLibrary'] = '%humus.applicationPath%' . DIRECTORY_SEPARATOR . 'library' . DIRECTORY_SEPARATOR;
$settings['PathPages'] = '%humus.applicationPath%' . DIRECTORY_SEPARATOR . 'views' . DIRECTORY_SEPARATOR . 'pages' . DIRECTORY_SEPARATOR;
$settings['PathActions'] = '%humus.applicationPath%' . DIRECTORY_SEPARATOR . 'actions' . DIRECTORY_SEPARATOR;
$settings['PathJson'] = '%humus.applicationPath%' . DIRECTORY_SEPARATOR . 'json' . DIRECTORY_SEPARATOR;
$settings['PathModule'] = '%humus.applicationPath%' . DIRECTORY_SEPARATOR . 'modules' . DIRECTORY_SEPARATOR;
$settings['PathModels'] = '%humus.applicationPath%' . DIRECTORY_SEPARATOR . 'models' . DIRECTORY_SEPARATOR;
$settings['PathStorage'] = '%humus.applicationPath%' . DIRECTORY_SEPARATOR . 'storage' . DIRECTORY_SEPARATOR;
$settings['PathCache'] = '%humus.applicationPath%' . DIRECTORY_SEPARATOR . 'cache' . DIRECTORY_SEPARATOR;
$settings['PathRequestDefault'] = '%humus.applicationPath%' . DIRECTORY_SEPARATOR . 'cache' . DIRECTORY_SEPARATOR;

/* URL */
$settings['AppBaseUrl'] = '/';
$settings['AppUrl'] = $settings['AppBaseUrl'];
$settings['EnableUrlRewrite'] = true;

/* ERROR */
$settings['Error400'] = '%humus.applicationPath%' . 'errors/400.php';
$settings['Error404'] = '%humus.applicationPath%' . 'errors/404.php';
$settings['Error401'] = '%humus.applicationPath%' . 'errors/401.php';
$settings['Error403'] = '%humus.applicationPath%' . 'errors/403.php';
$settings['Error500'] = '%humus.applicationPath%' . 'errors/500.php';

/* CONTROLLER */
$settings['ControllerDefaultExtension'] = 'php';

/* DATABASE */
$settings['DatabaseHost'] = 'localhost';
$settings['DatabaseUser'] = 'root';
$settings['DatabasePassword'] = '';
$settings['DatabaseName'] = 'archivionotizia';